package com.lujianfei.powersearch.ui.createOrUpdate.base

import com.lujianfei.powersearch.database.SearchItemModel

interface CreateOrUpdateContract {
    interface View {
        fun showDeleteButton()
        fun hideDeleteButton()
        fun showLoading()
        fun hideLoading()
        fun finish()
    }

    interface Presenter {
        fun deleteCurrentAndSubItem(searchItemModel: SearchItemModel?)
    }
}